#ifndef DW_GRAPHICS_OPENGL_210_CONTEXT_INL
#	define DW_GRAPHICS_OPENGL_210_CONTEXT_INL

#if (DW_GRAPHICS_BACKEND != DW_GRAPHICS_BACKEND_OPENGL_210)
#	error "Invalid included file"
#endif // (DW_GRAPHICS_BACKEND != DW_GRAPHICS_BACKEND_OPENGL_210)

namespace dw {
	namespace graphics {
		namespace details {

inline bool Context::isValid() const
{
	return m_setup.window != NULL && m_deviceContext != NULL && m_renderContext != NULL;
}

inline dw::uint32 Context::getDepthBits() const
{
	return m_setup.depthBits;
}

inline dw::uint32 Context::getStencilBits() const
{
	return m_setup.stencilBits;
}

inline Context::Context(const ContextSetup& setup)
:	m_setup(setup)
{
}

/*
inline Context::Context(const Context& ref)
:	m_setup(ref.m_setup)
{
}
*/

		} // namespace details
	} // namespace graphics
} // namespace dw

#endif // !DW_GRAPHICS_OPENGL_210_CONTEXT_INL
